package com.star.uc.feign.api.service;

import com.star.uc.feign.api.service.fallback.IUserFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description feign接口
 * @Author xtp
 * @Date 2024/1/16 15:06
 */
@FeignClient(
        value = "uc-service",
        fallback = IUserFallback.class
)
public interface IUserClient {

    String API_PREFIX = "/client";
    String DEMO = API_PREFIX + "/demo";

    @GetMapping(DEMO)
    String demo();

}
